<template>
  <div class="travel">
    <h3>春节出行政策查询</h3>
    <travel
      :label="'出发地区'"
      :placeholder="'请选择出发地区'"
    ></travel>
    <travel
      :label="'到达地区'"
      :placeholder="'请选择到达地区'"
    ></travel>
    <van-button class="button" block type="primary">查询政策</van-button>
  </div>
</template>

<script>
// import { getCityTravel } from "../network/getNcov";
import Travel from "../views/Travel.vue";
export default {
  name: "SpringTravel",
  components: {
    Travel,
  },
  data() {
    return {
      show: false,
      cascaderValue: "",
      
      
    };
  },
  created() {
  },
  methods: {
    onFinish({ selectedOptions }) {
      show.value = false;
      fieldValue.value = selectedOptions.map((option) => option.text).join("/");
    },
  },
};
</script>

<style scoped>
.travel {
  margin: 10px 0;
  height: 300px;
}
h3 {
  margin: 10px;
}
.van-button {
  width: 90%;
  margin: 5%;
  box-sizing: border-box;
}
</style>